package Game.GameStates 
{
	import Game.Online.Connection;
	/**
	 * ...
	 * @author Yevgeniy Logachev
	 */
	public class BaseState 
	{
		protected var m_isInit:Boolean = false;
		
		public function BaseState() 
		{
			// clear screen
			while (Main.mainSprite.numChildren) Main.mainSprite.removeChildAt(0);
		}
		
		public function get isInit():Boolean
		{
			return m_isInit;
		}
		
		public function update():void
		{
		}
	}

}